package com.subalien.client.service;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.subalien.client.dto.PlayerDto;
import com.subalien.client.dto.SubmarineDto;

@RemoteServiceRelativePath("gameService")
public interface GameService extends RemoteService {
	long createPlayer(String email, String name);
	PlayerDto getPlayer(String email);

	void createSubmarine(long playerId);
	SubmarineDto getSubmarine(long playerId);
	void updateSubmarine(SubmarineDto submarineDto);

}
